home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / smail-3.1.28 / contrib / akcs / transports < prev    next >
Encoding:
Text File  |  1990-10-23  |  3.4 KB  |  89 lines

  1. # @(#)contrib/akcs/transports    1.2 10/24/90 05:17:16
  2.  
  3. # This file defines the configuration of the transport subsystem as
  4. # compiled into the smail binary.  By modifying the source files
  5. # conf/EDITME, src/config.h or src/default.c the actual internal
  6. # configuration can be changed.  Thus, this should be matched up
  7. # against these files before assuming this is completely correct.
  8.  
  9. #
  10. # akcs - deliver mail to AKCS users using the appendfile driver
  11. #      MAKE SURE YOU EDIT the "file" specification below to reflect
  12. #     the directory and group you have installed AKCS under!
  13. #
  14. akcs:    driver = appendfile,        # Append to an AKCS mailbox
  15.     local,                # Local forms
  16.     from,                # Make sure it has an envelope
  17.     unix_from_hack;            # Hack other "from" lines to be ok
  18.                         
  19.     file = /pub/bbs/.users/${lc:user}/mbox, # This is locally defined!
  20.     group = bbs,            # As is this field -- check this!
  21.     mode = 0660,            # _ALWAYS_ for AKCS mail
  22.     suffix = "\n"            # Be nice and separate things
  23.  
  24. # local - deliver mail to local users
  25. #
  26. # By default, smail will append directly to user mailbox files.
  27. local:    driver = appendfile,        # append message to a file
  28.     local,                # use local forms for delivery
  29.     from,                # supply a From_ envelope line
  30.     unix_from_hack;            # insert > before From in body
  31.  
  32.     file = /usr/spool/mail/${lc:user},    # location of mailbox files
  33. #    file = /usr/mail/${lc:user},    # use this location for System V
  34. #    group = mail,            # group to own file for System V
  35.     mode = 0600,            # only owner can read and write file
  36. #    mode = 0660,            # under System V, group mail can access
  37.     suffix = "\n"            # append an extra newline
  38.  
  39. # pipe - deliver mail to shell commands
  40. #
  41. # This is used implicitly when smail encounters addresses which begin with
  42. # a vertical bar character, such as "|/usr/lib/news/recnews talk.bizarre".
  43. # The vertical bar is removed from the address before being given to the
  44. # transport.
  45. pipe:    driver = pipe,            # pipe message to another program
  46.     return_path, local, from, unix_from_hack;
  47.  
  48.     cmd = "/bin/sh -c $user",    # send address to the Bourne Shell
  49.     parent_env,            # environment info from parent addr
  50.     pipe_as_user,            # use user-id associated with address
  51.     umask = 0022,            # umask for child process
  52.     -log_output            # do not log stdout/stderr
  53.  
  54. # file - deliver mail to files
  55. #
  56. # This is used implicitly when smail encounters addresses which begin with
  57. # a slash or squiggle character, such as "/usr/info/list_messages" or
  58. # perhaps "~/Mail/inbox".
  59. file:    driver = appendfile,
  60.     return_path, local, from, unix_from_hack;
  61.  
  62.     file = $user,            # file is taken from address
  63.     append_as_user,            # use user-id associated with address
  64.     expand_user,            # expand ~ and $ within address
  65.     suffix = "\n",
  66.     mode = 0644
  67.  
  68. # uux - deliver to the rmail program on a remote UUCP site
  69. uux:    driver = pipe,
  70.     uucp,                # use UUCP-style addressing forms
  71.     from,                # supply a From_ envelope line
  72.     max_addrs = 5,            # at most 5 addresses per invocation
  73.     max_chars = 200;        # at most 200 chars of addresses
  74.  
  75.     # the -r flag prevents immediate delivery, parentheses around the
  76.     # $user variable prevent special interpretation by uux.
  77.     cmd = "/usr/bin/uux - -r $host!rmail $(($user)$)",
  78.     umask = 0022,
  79.     pipe_as_sender
  80.  
  81. # demand - deliver to a remote rmail program, polling on demand
  82. demand:    driver = pipe,
  83.     uucp, from, max_addrs = 5, max_chars = 200;
  84.  
  85.     # with no -r flag, try to contact remote site immediately
  86.     cmd = "/usr/bin/uux - $host!rmail $(($user)$)",
  87.     umask = 0022,
  88.     pipe_as_sender
  89.